function test(){
    if(NaN){
        console.log(1);
    }else{
        console.log(2);
    }
}
var result = test();
console.log(result);
function foo(){
    console.log('hello world');
}
var result = foo();
console.log(result);
